package cookieUtil;

import java.util.Set;

import org.apache.http.cookie.Cookie;

public class CookieUtil {
	public static String toString(Set<Cookie> cookies) {
			StringBuilder cookie_String=new StringBuilder();
			for (Cookie cookie:cookies) {
				String c=cookie.toString();
				cookie_String.append(c.substring(0, c.indexOf(";"))+";");
			}
			return cookie_String.toString();
	}

}
